package com.wds.service;

import com.wds.domain.JsonResult;
import com.wds.domain.entity.User;
import com.wds.domain.vo.RoutersVo;

import java.util.List;

/**
 * @author WDs , wds8.24@outlook.com
 * @version 1.0
 * @since 2022-10-24 15:47
 */
public interface AdminAuthenticationService {
    JsonResult<Object> login(User user);

    JsonResult <Object>logout();

    List<String> getPermissions(Long id);


    List<String> getRoles(Long id);

    JsonResult<RoutersVo> getRouters(Long id);

}
